﻿using System;
using System.Text;

namespace IPCChannel
{
    public interface IIPCClient : IDisposable
    {
        event MessageReceivedEventHandler MessageReceived;

        void StartListening();
        void StopListening();
        void Send(string server, int port, IPCMessage message);
        string GetIp();
        int GetPort();
        Encoding Encoding();
    }
}
